﻿        setInterval(changeDateTime, 1000);
        function changeDateTime() {
            var now = new Date();
            var strDate = now.getFullYear() + "年" + (now.getMonth() + 1) + "月" + now.getDate() + "日，";
            if (now.getHours() < 10) {
                strDate = strDate + "0" + now.getHours() + ":";
            } else {
                strDate = strDate + now.getHours() + ":";
            }
            if (now.getMinutes() < 10) {
                strDate = strDate + "0" + now.getMinutes() + ":";
            } else {
                strDate = strDate + now.getMinutes() + ":";
            }
            if (now.getSeconds() < 10) {
                strDate = strDate + "0" + now.getSeconds();
            } else {
                strDate = strDate + now.getSeconds();
            }

            var n_day = now.getDay();
            switch (n_day) {
                case 0:
                    { strDate = strDate + " 星期日 " } break;
                case 1:
                    { strDate = strDate + " 星期一 " } break;
                case 2:
                    { strDate = strDate + " 星期二 " } break;
                case 3:
                    { strDate = strDate + " 星期三 " } break;
                case 4:
                    { strDate = strDate + " 星期四 " } break;
                case 5:
                    { strDate = strDate + " 星期五 " } break;
                case 6:
                    { strDate = strDate + " 星期六 " } break;
                case 7:
                    { strDate = strDate + " 星期日 " } break;
            }
            jQuery("#TIME").html(strDate);
        }
   